<header class="itq-header">
    <section class="itq-wrapper">
        <figure>
            <a href="<?php echo $config->website; ?>"><img src="<?php echo $config->logo; ?>" alt=""></a>
        </figure>
        <form action="" method="get" id="MainSearch">
        	<input type="hidden" name="page" value="list-news">
            <select class="greyBox" name="slorder" id="slorder">
                <option value="1">Tất cả</option>
                <option value="2">Mac</option>
                <option value="3">iPad</option>
                <option value="4">iPhone</option>
                <option value="1">iPod</option>
                <option value="1">Phụ kiện</option>
                <option value="1">Chương trình khách hàng thân thiết</option>
            </select>
            <input class="txt greyBox" type="text" name="txtSearch" id="txtSearch" placeholder="Tìm kiếm">
            <input class="btn" type="submit" name="" value="Tìm kiếm">
            <section id="ajaxresult">
            
            </section>
        </form>
        <section class="seller"></section><!--end .seller-->
    </section><!--end .itq-wrapper-->
</header><!--end .itq-header-->
<script>
	$(document).ready(function(e) {
		function intallsearch()
		   {
				$.get('<?php echo $url ?>getpro.php?fast=1',$('#MainSearch').serialize(),function(data){
					$('#ajaxresult').html(data);
					$('#ajaxresult').slideDown('fast');
				});
		}
        $('#txtSearch').keyup(function(e) {
          intallsearch();
		
        });
    });
</script>